/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

import org.opensource.jdom.taggen.html.CommonAttributes;

/**
 * Image.<br>
 * Note: When an image is used as a link, many browsers will show a border 
 * around the image. To get rid of this you should use CSS (border: 0).
 *
 * <h2>Example</h2> <pre><code class="html">
 * <strong>&lt;img src="http://www.htmldog.com/images/logo.gif" alt="HTML Dog"
 * /&gt;</strong>
 * </code></pre>
 *
 *
 * @author sergio.valdez
 */
public class Img extends CommonAttributes{

    /**
     * is used to specify the location of the image file.
     */
    private String src;
    /**
     * is used to specify the alternative text of the image, which should be a
     * short description.
     */
    private String alt;
    /**
     * can be used to specify the location (in the form of a URI) of a
     * description of the image.
     */
    private String longdesc;
    /**
     * can be used to define the height of the image (in pixels).
     * This can also be done with CSS.
     */
    private String height;
    /**
     * can be used to define the width of the image (in pixels).
     * This can also be done with CSS.
     */
    private String width;


    public Img(String src, String alt) {
        this.src = src;
        this.alt = alt;
    }


}
